//
//  Detail2ViewController.h
//  WDFans
//
//  Created by Apple Inc on 4/3/12.
//  Copyright (c) 2012 AppleInc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AbstractTabViewController.h"
#import <MessageUI/MessageUI.h>


@class WDNews;

@protocol Detail2ViewControllerDelegate;

@interface Detail2ViewController : AbstractTabViewController
<UIActionSheetDelegate,MFMailComposeViewControllerDelegate>


@property (nonatomic, retain) IBOutlet UIWebView *myWebView;
@property (nonatomic, retain) WDNews *currentNews;
@property (nonatomic, assign) id<Detail2ViewControllerDelegate> delegate;

- (id)initWithNews:(WDNews *)curNews;

- (IBAction)back:(id)sender;
- (IBAction)shareClick:(id)sender;
- (IBAction)collectClick:(id)sender;

@end


@protocol Detail2ViewControllerDelegate <NSObject>

- (void)backClick;

@end


